package com.amsp.oa.oademo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.math.BigDecimal;

@Data
@TableName("special_reward_apply")
@ApiModel(description = "专项奖励申请实体")
public class SpecialRewardApply {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("工号")
    private String employeeId;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("部门名称")
    private String departmentName;

    @ApiModelProperty("性别")
    private String gender;

    @ApiModelProperty("职务")
    private String position;

    @ApiModelProperty("入职日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDate entryDate;

    @ApiModelProperty("填表日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDate fillDate;

    @ApiModelProperty("奖励事由")
    private String reason;

    @ApiModelProperty("奖励金额（小写）")
    private BigDecimal rewardAmountSmall;

    @ApiModelProperty("奖励金额（大写）")
    private String rewardAmountCapital;

    @ApiModelProperty("部门经理意见")
    private String managerOpinion;

    @ApiModelProperty("部门经理签字")
    private String managerSignature;

    @ApiModelProperty("部门经理审批年")
    private Integer managerYear;

    @ApiModelProperty("部门经理审批月")
    private Integer managerMonth;

    @ApiModelProperty("部门批示")
    private String departmentOpinion;

    @ApiModelProperty("部长/总监签字")
    private String departmentSignature;

    @ApiModelProperty("部门审批年")
    private Integer departmentYear;

    @ApiModelProperty("部门审批月")
    private Integer departmentMonth;

    @ApiModelProperty("总经理意见")
    private String generalManagerOpinion;

    @ApiModelProperty("总经理签字")
    private String generalManagerSignature;

    @ApiModelProperty("总经理审批年")
    private Integer generalManagerYear;

    @ApiModelProperty("总经理审批月")
    private Integer generalManagerMonth;

    @ApiModelProperty("企业管理部意见")
    private String enterpriseManagementOpinion;

    @ApiModelProperty("企业管理部签字")
    private String enterpriseManagementSignature;

    @ApiModelProperty("企业管理部审批年")
    private Integer enterpriseManagementYear;

    @ApiModelProperty("企业管理部审批月")
    private Integer enterpriseManagementMonth;

    @ApiModelProperty("总裁/董事长意见")
    private String presidentOpinion;

    @ApiModelProperty("总裁/董事长签字")
    private String presidentSignature;

    @ApiModelProperty("总裁/董事长审批年")
    private Integer presidentYear;

    @ApiModelProperty("总裁/董事长审批月")
    private Integer presidentMonth;

    @ApiModelProperty("生效年份")
    private Integer effectiveYear;

    @ApiModelProperty("生效月份")
    private Integer effectiveMonth;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime updateTime;

    @ApiModelProperty("是否删除")
    private Boolean deleted;
}